package com.szgr.baoyin.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ListView;

import com.szgr.baoyin.R;
import com.szgr.baoyin.adapter.MsgCenterListAdapter;

public class MessageCenterActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_message_center);
        super.onCreate(savedInstanceState);
    }

    @Override
    public void initActionBar() {
        actionBarTitle.setText("消息中心");
    }

    @Override
    public void initView() {
        ListView messageListView = (ListView) findViewById(R.id.message_center_list_view);
        messageListView.setAdapter(new MsgCenterListAdapter(this));
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.action_bar_left:
                finish();
                break;
        }
    }
}
